# $HOME/.mailrc example

# The configuration file of edmail (and mailx)

# edmail(1) uses the first match of the string options
# fetchmail, sendmail, folder, record, from, signature
# aliases, PAGER, EDITOR and cmd. Of these, the fetchmail,
# aliases and script options are edmail specific; the
# fetchmail option specifies the mail delivery agent, the
# aliases option specifies the aliases file to be used [see
# aliases(5)], and the script option makes it possible to
# execute a script on a message.

# Consult the mailx manual for the other options:
# http://heirloom.sourceforge.net/mailx/mailx.1.html

# Paths are assumed to be complete, with the exception
# of the record option, which can make use of the folder
# option. Paths should not contain whitespace. String
# options may be quoted with either single or double
# quotes as needed; the outermost pair is removed.

#----------------------------------------------------------

# no default value
#set fetchmail=getmail

# no default value
#set sendmail=msmtp

# defaults to $HOME/.maildir
#set folder=/home/joe/files/.maildir

# outgoing mail not saved unless set
#set record=+out

# must be set
set from='"Joe D. Brown" <joe@host.tld>'

# no default value
#set aliases=/home/joe/.aliases

# no default value
#set signature=/home/joe/.signature

# defaults to ed
#set EDITOR=vi

# defaults to more
#set PAGER=less

# no default value, handled as sh -c "$cmd" | $PAGER
#set cmd="uudecode -mr"

# no default value, can be used to achieve most anything:
# when called, it gets as arguments the complete filename
# and the args from within edmail
#set script=mime

#----------------------------------------------------------

# mailx options can follow as needed, for example:
#unset signature
#set folder=imaps://joe@host.tld
